<div class="infoBlock infoBlockM">
<div class="infoBlockHeading"><span class="t">{$SETTINGS.bs_company}</span></div>
<div class="infoBlockContent">

{literal}
<style type="text/css">
ul.gimgs {
	clear: both;
	float: left;
	display: block;
	margin-top: 20px;
	padding-top: 20px;
	list-style: none;
}
ul.gimgs li {
	float: left;
}
ul.gimgs li div.item {
	padding: 4px;
	margin: 4px;
}
</style>
<script type="text/javascript" language="javascript">
var slider = new slider_image("glist", "gimage");
slider.init();
function selectimage(id) {
	document.location.hash = id;
	slider.click(id);
	return false;
}
</script>
{/literal}

<div class="infoBlockItem">
<div align="center" id="gimaged" style=" min-height: 360px;">
<a href="{$CONTEXT.URLBASE}images/uploads/origins/{$CONTENT.item.value}" target="_blank">
{if $CONTENT.item.id > 0}
{pp_pimage src=$CONTENT.item.value eid=$CONTENT.item.id url=$CONTEXT.URLBASE path_prefix="===CONFIG_DIR_UPLOADS_RESIZED" id="gimage"}
{else}
{pp_pimage src="blank.jpg" eid=$CONTENT.item.id url=$CONTEXT.URLBASE path_prefix="images/" id="gimage"}
{/if}
</a>
</div>
</div>

<div class="infoBlockItem">
<div style="height: 30px;"></div>
</div>

<div class="infoBlockItem">
<ul class="gimgs" id="glist">
{section name=item loop=$CONTENT.items}
<li>
<div class="item">
<div class="img"><a href="{$CONTEXT.URL}gallery/{$CONTENT.items[item].id}{$CONTEXT.URL_SUFFIX}" onclick="selectimage('{$CONTENT.items[item].id}');return false;">{pp_pimage src=$CONTENT.items[item].value eid=$CONTENT.items[item].id url=$CONTEXT.URLBASE path_prefix="===CONFIG_DIR_UPLOADS_THUMBS" width=$CONTENT.items[item].width height=$CONTENT.items[item].height lw="90" lh="60"}</a></div>
<div class="name"></div>
<div class="desc"></div>
</div>
</li>
{/section}
</ul>
</div>

</div>
</div>

{literal}
<script type="text/javascript" language="javascript">
var slider = new slider_image("glist", "gimage");
slider.init();
function selectimage(id) {
	document.location.hash = id;
	slider.click(id);
	return false;
}
</script>
{/literal}
